package com.whyx.project.openapi.business;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class DeviceAlarmData implements Serializable {

    public String dvo;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date adt;
    public Integer ate;
    public double lng;
    public double lat;

    public String getDvo() {
        return this.dvo;
    }

    public void setDvo(String dvo) {
        this.dvo = dvo;
    }

    public Date getAdt() {
        return this.adt;
    }

    public void setAdt(Date adt) {
        this.adt = adt;
    }

    public Integer getAte() {
        return this.ate;
    }

    public void setAte(Integer ate) {
        this.ate = ate;
    }

    public double getLng() {
        return this.lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public double getLat() {
        return this.lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public String toString() {
        return "DeviceAlarmData:{dvo:" + this.dvo + '\'' + "adt:'" + this.adt + '\'' + "ate:'" + this.ate + '\'' + "lng:'" + this.lng + '\'' + "lat:'" + this.lat + '}';
    }
}

